<template>
<!-- 内容开始 -->
    <div class="centent">
        <!-- 开头图片开始 -->
        <div class="herdImg"></div>
        <!-- 开头图片结束 -->

        <!-- 1985开始 -->
        <div class="number">
            <span class="subject">
                HISTORY & DEVELOPMENTS
            </span>
            <span class="text">
                ShiJiaZhuang Zahuai Trading Co.,Ltd was established in 1985 by
            </span>
        </div>
        <!-- 1985结束 -->

        <!-- 图文介绍第一块开始 -->
        <div class="imgText">
            <!-- 文字部分开始 -->
            <div class="text">
                <div>
                    {{ imgText[0].text }}
                </div>
            </div>
            <!-- 文字部分结束 -->
            <!-- 图片部分开始 -->
            <img :src="imgText[0].url" alt="">
            <!-- 图片部分结束 -->
        </div>
        <!-- 图文介绍第一块结束 -->

        <!-- 图文介绍第二块开始 -->
        <div class="imgText_2">
            <!-- 文字部分开始 -->
            <div class="text">
                <div>
                    {{ imgText[1].text }}
                </div>
            </div>
            <!-- 文字部分结束 -->
            <!-- 图片部分开始 -->
            <img :src="imgText[1].url" alt="" style="left: 10%">
            <!-- 图片部分第二块结束 -->
        </div>
        <!-- 图文介绍结束 -->

         <!-- THANKS开始 -->
        <div class="number THANKS">
            <span class="text">
                ShiJiaZhuang Zahuai Trading Co.,Ltd was established in 1985 by
            </span>
            <span class="text">
                introduced over 20 years ago, to the adjustable collar, to the suitcase style fold-up create
            </span>
            <span class="text">
                now industry standards we are always looking to improve processes and inspire innovation.
            </span>
        </div>
        <!-- THANKS结束 -->
    </div>
<!-- 内容结束 -->
</template>

<style lang="less" scoped>
    // 内容开始
    .centent {
        // 开头图片开始
        .herdImg {
            width: 100%;
            height: 400px;
            background-image: url('../assets/images/61484.png');
            background-size: 100% 100%;
            background-repeat: no-repeat;
        }
        // 开头图片结束

        // 1985开始
        .number {
            width: 70%;
            height: 300px;
            margin-top: 100px;
            margin-left: 15%;
            background-image: url('../assets/images/1985.png');
            background-repeat: no-repeat;
            background-size: 100% 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;

            .subject {
                font-size: 30px;
            }
            .text {
                color: #888888;
            }
        }
        // 1985结束

        // 图文介绍第一块开始
        .imgText {
            width: 70%;
            height: 500px;
            margin-top: 100px;
            margin-left: 15%;
            // background-color: seagreen;
             position: relative;
            // 文字部分开始
            .text {
                width: 50%;
                height: 70%;
                position: absolute;
                border-radius: 20px;
                top: 50%;
                left: 10%;
                transform: translate(0, -50%);
                background-color: white;
                box-shadow: 1px 1px 10px 3px gray;
                z-index: 1;

                div {
                    width: 80%;
                    height: 80%;
                    margin: 5% 10%;
                    text-overflow: ellipsis;
                    word-wrap: break-word;
                    line-height: 35px;
                }
            }
            // 文字部分结束
            // 图片部分开始
            img {
                height: 90%;
                position: absolute;
                border-radius: 20px;
                top: 50%;
                right: 10%;
                transform: translate(0, -50%);

            }
            // 图片部分结束
        }
        // 图文介绍第一块结束

        // 图文介绍第二块开始
        .imgText_2 {
            width: 70%;
            height: 500px;
            margin-top: 100px;
            margin-left: 15%;
            // background-color: seagreen;
             position: relative;
            // 文字部分开始
            .text {
                width: 50%;
                height: 70%;
                position: absolute;
                border-radius: 20px;
                top: 50%;
                right: 10%;
                transform: translate(0, -50%);
                background-color: white;
                box-shadow: 1px 1px 10px 3px gray;
                z-index: 1;

                div {
                    width: 80%;
                    height: 80%;
                    margin: 5% 10%;
                    text-overflow: ellipsis;
                    word-wrap: break-word;
                    line-height: 35px;
                }
            }
            // 文字部分结束
            // 图片部分开始
            img {
                height: 90%;
                position: absolute;
                border-radius: 20px;
                top: 50%;
                left: 10%;
                transform: translate(0, -50%);

            }
            // 图片部分结束
        }
        // 图文介绍第二块结束
        // THANKS开始
        .THANKS {
            background-image:url('../assets/images/THANKS.png');
            margin-bottom: 100px;
        }
        // THANKS结束
    }
    // 内容结束
</style>

<script>
import img_1 from '../assets/images/26.png'
import img_2 from '../assets/images/78.png'
export default {
    data(){
        return {
            // 图文数据
            imgText: [
                {
                    url: img_1,
                    text: "zhsafjiandkslfjkalsfjeifjklasdjfklavlkajklfsdjfklasdkfjzhsafjiandkslfjkalsfjeifjklasdjfklavlkajklfsdjfklasdkfjzhsafjiandkslfjkalsfjeifjklasdjfklavlkajklfsdjfklasdkfjzhsafjiandkslfjkalsfjeifjklasdjfklavlkajklfsdjfklasdkfjzhsafjiandkslfjkalsfjeifjklasdjfklavlkajklfsdjfklasdkfjzhsafjiandkslfjkalsfjeifjklasdjfklavlkajklfsdjfklasdkfjzhsafjiandkslfjkalsfjeifjklasdjfklavlkajklfsdjfklasdkfjzhsafjiandkslfjkalsfjeifjklasdjfklavlkajklfsdjfklasdkfjzhsafjiandkslfjkalsfjeifjklasdjfklavlkajklfsdjfklasdkfjzhsafjiandkslfjkalsfjeifjklasdjfklavlkajklfsdjfklasdkfjzhsafjiandkslfjkalsfjeifjk"
                },
                {
                    url: img_2,
                    text: "fsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdffsdklfjawleifjlakdjfiovjlkajfiowafjsldkdjdsfasdf"
                }
            ]
        }
    }
}
</script>